arm64: ls1043ardb: Add distro secure boot support
authorSumit Garg <[email protected]>
Mon, 5 Jun 2017 18:21:51 +0000 (23:51 +0530)
committerYork Sun <[email protected]>
Tue, 1 Aug 2017 15:28:57 +0000 (08:28 -0700)
commit76bbf1c634f4a09e1b3e19468738842a2289dc1e
tree55936119806a3f53938ebc9a864fd0c32cac6b05
parent8de227ee0bf0e14a835b18fe8b599a757f1f678a
arm64: ls1043ardb: Add distro secure boot support

Enable validation of boot.scr script prior to its execution dependent
on "secureboot" flag in environment. Disable fall back option to
nor/qspi boot in case of secure boot. Also enable "secureboot=y"
flag in environment for ARM based platforms instead of bootcmd.

Signed-off-by: Sumit Garg <[email protected]>
Tested-by: Vinitha Pillai <[email protected]>
Reviewed-by: York Sun <[email protected]>
board/freescale/common/fsl_chain_of_trust.c
configs/ls1043ardb_SECURE_BOOT_defconfig
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
include/configs/ls1043a_common.h